package com.deli.autoconfig;

import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Auther: xudeli
 * @Date: 2018/9/17/017 20
 * @Description:
 */
public class HelloService {

    HelloProperties helloProperties;
    public String sayHelloXuxu(String name) {
        return helloProperties.getPrefix()+"-"+ name +"-"+ helloProperties.getSuffix();
    }

    public HelloProperties getHelloProperties() {
        return helloProperties;
    }

    public void setHelloProperties(HelloProperties helloProperties) {
        this.helloProperties = helloProperties;
    }
}
